package com.authine.cloudpivot.web.api.secondopen.service;


import com.alibaba.fastjson.JSONObject;

/**
 * @Author: brookpeng
 * @Date: 2021/12/13 14:54
 */
public interface SameRoadBusinessTravelService {

    /**
     * 同程商旅员工信息同步接口
     * @return
     */
    public String syncEmployeeInfo();

    /**
     * 同程商旅外部差旅单同步
     * @param tableName
     * @param sequenceNo
     * @param subTableName
     * @param sameRoadApplyOrderSyncTableName
     * @return
     */
    public String syncTravelApplyOrder(String tableName, String sequenceNo, String subTableName, String sameRoadApplyOrderSyncTableName);

    /**
     * 同程商旅对账单
     * @param pageIndex
     * @param pageSize
     * @param beginDate
     * @param endDate
     * @return
     */
    public String sameRoadAccountCheck(Integer pageIndex, Integer pageSize, String beginDate, String endDate, String tableName);

    /**
     * 查询机票对账单
     * @param statementCode
     * @param StatementStatus
     * @return
     */
    public String queryOnlineStatementFlightDetailPageList(String statementCode, String StatementStatus);

    /**
     * 查询火车对账单
     * @param statementCode
     * @param statusList
     * @return
     */
    public String queryOnlineStatementTrainDetailPageList(String statementCode, String statusList);

    /**
     * 记录机票数据回推
     * @param jsonObject
     * @return
     */
    public int noteFlightOrder(JSONObject jsonObject, String tableName);

    /**
     * 查询同程机票订单列表接口
     * @return
     */
    public int saveFlightOrderList();
}
